using FreeSql.DataAnnotations;
using Newtonsoft.Json;

namespace ProjectManageSystemApi.DbEntity
{

    /// <summary>
    /// 工程表
    /// </summary>
    [JsonObject(MemberSerialization.OptIn), Table(Name = "project_info", DisableSyncStructure = true)]
	public partial class ProjectInfo {

		[JsonProperty, Column(Name = "id", IsPrimary = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 工程名称
		/// </summary>
		[JsonProperty, Column(Name = "project_name", StringLength = 100)]
		public string ProjectName { get; set; }

		/// <summary>
		/// 工程描述
		/// </summary>
		[JsonProperty, Column(Name = "project_desc", StringLength = 500)]
		public string ProjectDesc { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "create_time")]
		public long CreateTime { get; set; }

		/// <summary>
		/// 创建人
		/// </summary>
		[JsonProperty, Column(Name = "create_user")]
		public long CreateUser { get; set; }

		/// <summary>
		/// 状态(0默认,1已完成)
		/// </summary>
		[JsonProperty, Column(Name = "state", DbType = "tinyint(4)")]
		public sbyte? State { get; set; }

	}

}
